/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.creationpatterns.prototype.prototypeimplementation;

import za.ac.cput.chapter5.designpatters.creationpatterns.prototype.prototypeinterface.Prototype;

/**
 *
 * @author Sakhe
 */
public class Person implements Prototype{
    
     String name;
    public Person(String name){
    this.name = name ;
    }
   
     @Override
    public Prototype doClone(){
    return new Person(name);
     }
}
